﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<Hasiu.Mvc.Extensions.Pager.PagerList<Hasiu.Entity.Files>>" %>
<%@ Import Namespace="Hasiu.Mvc.Extensions.Pager" %>
<table class="table_grid">
    <tr class="header">
        <td>图片</td>
        <td>文件名</td>
        <td>大小</td>
        <td>时间</td>
        <td>删除</td>
    </tr>
    <% 
        foreach (var v in Model)
        {
    %>
    <tr>
        <td><a title="点击选择" href="javascript:callback('<%= v.AllfileName %>');"><img src="<%= v.AllfileName %>" height="30px" /></a></td>
        <td title="<%= v.FileName %>"><%= v.FileName %></td>
        <td><%= v.FileSize %></td>
        <td><%= v.BackTime %></td>
        <td>
        <a href="/tools/editor/del.aspx?id=<%= v.AllfileName %>" class="tssc" title="删除">X</a>
        </td>
    </tr>
    <%
        }
    %>
    <tr class="footer">
        <td colspan="5">
            <%= Html.AjaxPager(Model) %>
        </td>
    </tr>
</table>